import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {Page0Component} from './pages/page0/page0.component'
import {Page1Component} from './pages/page1/page1.component'
import {Page2Component} from './pages/page2/page2.component'
import {Page3Component} from './pages/page3/page3.component'

const routes: Routes = [
  {path: 'page0', component: Page0Component},
  {path: 'page1', component: Page1Component},
  {path: 'page2', component: Page2Component},
  {path: 'page3', component: Page3Component},
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
